using System;
using System.Collections.Generic;
using System.Text;
using Ghasam.Business.Domain.Entity;

namespace Ghasam.Business.DAO
{
    public interface IInternalAccountingDao : IDao<InternalAccounting>
    {
        int Count();

        IList<InternalAccounting> GetAll(string orderby, bool desc, int pageSize, int pageNumber);

        IList<InternalAccounting> Find(string orderby, bool desc, InternalAccounting example, DateTime? StartDate, DateTime? EndDate, int pageSize, int pageNumber);

        int CountFind(InternalAccounting example, DateTime? StartDate, DateTime? EndDate);

        IList<InternalAccounting> InternalAccountingReport(Item item, SalesPerson salesPerson, InternalAccount account, DateTime? accountingStartDate, DateTime? accountingEndDate, int[] formal);

        IList<InternalAccounting> SortInternalAccounting(string orderby, bool desc, InternalAccounting accounting, DateTime? StartDate, DateTime? EndDate, int pageSize, int pageNumber, string param, bool asc);
    }
}
